<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
<%@include file="/white/common/taglibs.jsp"%>
<%@include file="/white/common/common.jsp"%>

<html>
	<body>
		<div id="div_title">
			<h3>
				工作流<s:label name="workflow.name"/>参数修改
			</h3>
		</div>

		<!-- Data Form -->
		<%@include file="/white/common/message.jsp"%>
		<s:form method="post" action="workflowAction!editContext" theme="simple">
			<s:token />
			
			<s:hidden name="workflowContext.contextId"></s:hidden>
			<s:hidden name="workflow.workflowId"></s:hidden>

			<table cellpadding="0" cellspacing="0" class="t_form">
				
				<tr>
					<td width="15%">
						参数名称:
					</td>
					<td>
						<s:textfield name="workflowContext.paramName" maxlength="15" />
						<span class="red_star">*</span>
					</td>
				</tr>
				
				<tr>
					<td width="15%">
						参数类型:
					</td>
					<td>
						<s:select list="workflowContextTypeMap"
							name="workflowContext.paramType"
							id="workflowContextParamType"></s:select>
						<span class="red_star">*</span>
					</td>
				</tr>	
				<tr>
				<td width="15%">
						默认值:
					</td>
					<td>
						<s:textfield name="workflowContext.defaultValue" maxlength="128"  />
						<span class="red_star">*</span>
					</td>
				</tr>			
			</table>

			<div id="div_button">

				<s:submit key="保存" action="workflowAction-%{workflowContext.contextId}!editContext"
					onclick="if(validateForm()){return true;}else{return false;}"
					cssClass="input_button" />
				<s:submit key="返回"
					onclick="form.action='workflowAction-%{workflow.workflowId}!showDetail.action';return true;"
					cssClass="input_button" />
			</div>

			<s:hidden name="searchString" />

		</s:form>
		<!--Data Form End -->

	</body>

</html>